#列表
li = list()

result = []
for i in range(1,11):
    if i%2 == 0:
        result.append(i**2)
print(result)
result2 = [i**2 for i in range(1,11) if i%2 == 0]
print(result2)

#元组
tup1 = 1,2,3,4,5
tup2 = (1,2,3,4,5)
tup3 = tuple()

#集合
set1 = {1,2,3}
set2 = set('hogwarts')
print(set2,type(set2))
set3 = set([1,2,3])
print(set3,type(set3))